class UserPhoto < ActiveRecord::Base
  belongs_to :user
  
  has_attachment :content_type => :image, 
                 :storage => :file_system, 
                 :thumbnails => { :small => [50, 50], :normal => [100, 100], :medium => [200,200], :large => [300, 300] }
                 
  validates_as_attachment
  
end
